package com.thd.springboot.framework.db.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.thd.springboot.framework.db.entity.BasicEntity;
import com.thd.springboot.framework.db.mapper.BasicMpMapper;

/**
 * 用于 MyBatisPlus
 * @param <M>
 * @param <T>
 */
public abstract class BasicMpServiceImpl<M extends BasicMpMapper<T>,T extends BasicEntity> extends ServiceImpl<M,T> implements BasicMpService<T> {

    public abstract BasicMpMapper<T> getMapper();

    public String test(){
        return this.getMapper().test();
    };
}
